# $NetBSD$

GITHUB_TAG=	v${PKGVERSION_NOREV}
DISTNAME=	innernet-1.5.5
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_GITHUB:=tonarino/}

MAINTAINER=	khorben@defora.org
HOMEPAGE=	https://github.com/tonarino/innernet/
COMMENT=	Private network system that uses WireGuard under the hood
LICENSE=	mit

CARGO_CRATE_DEPENDS+=	ahash-0.7.6
CARGO_CRATE_DEPENDS+=	aho-corasick-0.7.19
CARGO_CRATE_DEPENDS+=	anyhow-1.0.65
CARGO_CRATE_DEPENDS+=	atty-0.2.14
CARGO_CRATE_DEPENDS+=	autocfg-1.1.0
CARGO_CRATE_DEPENDS+=	base64-0.13.0
CARGO_CRATE_DEPENDS+=	bitflags-1.3.2
CARGO_CRATE_DEPENDS+=	byteorder-1.4.3
CARGO_CRATE_DEPENDS+=	bytes-1.2.1
CARGO_CRATE_DEPENDS+=	cc-1.0.73
CARGO_CRATE_DEPENDS+=	cfg-if-1.0.0
CARGO_CRATE_DEPENDS+=	chunked_transfer-1.4.0
CARGO_CRATE_DEPENDS+=	clap-3.2.22
CARGO_CRATE_DEPENDS+=	clap_complete-3.2.5
CARGO_CRATE_DEPENDS+=	clap_derive-3.2.18
CARGO_CRATE_DEPENDS+=	clap_lex-0.2.4
CARGO_CRATE_DEPENDS+=	colored-2.0.0
CARGO_CRATE_DEPENDS+=	console-0.15.1
CARGO_CRATE_DEPENDS+=	crypto-common-0.1.6
CARGO_CRATE_DEPENDS+=	curve25519-dalek-4.0.0-pre.2
CARGO_CRATE_DEPENDS+=	dialoguer-0.10.2
CARGO_CRATE_DEPENDS+=	digest-0.10.5
CARGO_CRATE_DEPENDS+=	encode_unicode-0.3.6
CARGO_CRATE_DEPENDS+=	env_logger-0.7.1
CARGO_CRATE_DEPENDS+=	fallible-iterator-0.2.0
CARGO_CRATE_DEPENDS+=	fallible-streaming-iterator-0.1.9
CARGO_CRATE_DEPENDS+=	fastrand-1.8.0
CARGO_CRATE_DEPENDS+=	fnv-1.0.7
CARGO_CRATE_DEPENDS+=	form_urlencoded-1.1.0
CARGO_CRATE_DEPENDS+=	futures-channel-0.3.24
CARGO_CRATE_DEPENDS+=	futures-core-0.3.24
CARGO_CRATE_DEPENDS+=	futures-task-0.3.24
CARGO_CRATE_DEPENDS+=	futures-util-0.3.24
CARGO_CRATE_DEPENDS+=	generic-array-0.14.6
CARGO_CRATE_DEPENDS+=	getrandom-0.2.7
CARGO_CRATE_DEPENDS+=	hashbrown-0.12.3
CARGO_CRATE_DEPENDS+=	hashlink-0.8.1
CARGO_CRATE_DEPENDS+=	heck-0.4.0
CARGO_CRATE_DEPENDS+=	hermit-abi-0.1.19
CARGO_CRATE_DEPENDS+=	hex-0.4.3
CARGO_CRATE_DEPENDS+=	http-0.2.8
CARGO_CRATE_DEPENDS+=	http-body-0.4.5
CARGO_CRATE_DEPENDS+=	httparse-1.8.0
CARGO_CRATE_DEPENDS+=	httpdate-1.0.2
CARGO_CRATE_DEPENDS+=	humantime-1.3.0
CARGO_CRATE_DEPENDS+=	hyper-0.14.20
CARGO_CRATE_DEPENDS+=	idna-0.3.0
CARGO_CRATE_DEPENDS+=	indexmap-1.9.1
CARGO_CRATE_DEPENDS+=	indoc-1.0.7
CARGO_CRATE_DEPENDS+=	instant-0.1.12
CARGO_CRATE_DEPENDS+=	ipnet-2.5.0
CARGO_CRATE_DEPENDS+=	itoa-1.0.3
CARGO_CRATE_DEPENDS+=	lazy_static-1.4.0
CARGO_CRATE_DEPENDS+=	libc-0.2.133
CARGO_CRATE_DEPENDS+=	libsqlite3-sys-0.25.1
CARGO_CRATE_DEPENDS+=	lock_api-0.4.9
CARGO_CRATE_DEPENDS+=	log-0.4.17
CARGO_CRATE_DEPENDS+=	memchr-2.5.0
CARGO_CRATE_DEPENDS+=	memoffset-0.6.5
CARGO_CRATE_DEPENDS+=	mio-0.8.4
CARGO_CRATE_DEPENDS+=	netlink-packet-core-0.4.2
CARGO_CRATE_DEPENDS+=	netlink-packet-generic-0.3.1
CARGO_CRATE_DEPENDS+=	netlink-packet-route-0.13.0
CARGO_CRATE_DEPENDS+=	netlink-packet-utils-0.5.1
CARGO_CRATE_DEPENDS+=	netlink-packet-wireguard-0.2.1
CARGO_CRATE_DEPENDS+=	netlink-sys-0.8.3
CARGO_CRATE_DEPENDS+=	nix-0.25.0
CARGO_CRATE_DEPENDS+=	num_cpus-1.13.1
CARGO_CRATE_DEPENDS+=	once_cell-1.15.0
CARGO_CRATE_DEPENDS+=	os_str_bytes-6.3.0
CARGO_CRATE_DEPENDS+=	parking_lot-0.12.1
CARGO_CRATE_DEPENDS+=	parking_lot_core-0.9.3
CARGO_CRATE_DEPENDS+=	paste-1.0.9
CARGO_CRATE_DEPENDS+=	percent-encoding-2.2.0
CARGO_CRATE_DEPENDS+=	pin-project-lite-0.2.9
CARGO_CRATE_DEPENDS+=	pin-utils-0.1.0
CARGO_CRATE_DEPENDS+=	pkg-config-0.3.25
CARGO_CRATE_DEPENDS+=	pretty_env_logger-0.4.0
CARGO_CRATE_DEPENDS+=	proc-macro-error-1.0.4
CARGO_CRATE_DEPENDS+=	proc-macro-error-attr-1.0.4
CARGO_CRATE_DEPENDS+=	proc-macro2-1.0.43
CARGO_CRATE_DEPENDS+=	quick-error-1.2.3
CARGO_CRATE_DEPENDS+=	quote-1.0.21
CARGO_CRATE_DEPENDS+=	rand_core-0.6.4
CARGO_CRATE_DEPENDS+=	redox_syscall-0.2.16
CARGO_CRATE_DEPENDS+=	regex-1.6.0
CARGO_CRATE_DEPENDS+=	regex-syntax-0.6.27
CARGO_CRATE_DEPENDS+=	remove_dir_all-0.5.3
CARGO_CRATE_DEPENDS+=	rusqlite-0.28.0
CARGO_CRATE_DEPENDS+=	ryu-1.0.11
CARGO_CRATE_DEPENDS+=	scopeguard-1.1.0
CARGO_CRATE_DEPENDS+=	serde-1.0.145
CARGO_CRATE_DEPENDS+=	serde_derive-1.0.145
CARGO_CRATE_DEPENDS+=	serde_json-1.0.85
CARGO_CRATE_DEPENDS+=	smallvec-1.9.0
CARGO_CRATE_DEPENDS+=	socket2-0.4.7
CARGO_CRATE_DEPENDS+=	strsim-0.10.0
CARGO_CRATE_DEPENDS+=	subtle-2.4.1
CARGO_CRATE_DEPENDS+=	syn-1.0.100
CARGO_CRATE_DEPENDS+=	tempfile-3.3.0
CARGO_CRATE_DEPENDS+=	termcolor-1.1.3
CARGO_CRATE_DEPENDS+=	terminal_size-0.1.17
CARGO_CRATE_DEPENDS+=	textwrap-0.15.1
CARGO_CRATE_DEPENDS+=	thiserror-1.0.35
CARGO_CRATE_DEPENDS+=	thiserror-impl-1.0.35
CARGO_CRATE_DEPENDS+=	tinyvec-1.6.0
CARGO_CRATE_DEPENDS+=	tinyvec_macros-0.1.0
CARGO_CRATE_DEPENDS+=	tokio-1.21.1
CARGO_CRATE_DEPENDS+=	tokio-macros-1.8.0
CARGO_CRATE_DEPENDS+=	toml-0.5.9
CARGO_CRATE_DEPENDS+=	tower-service-0.3.2
CARGO_CRATE_DEPENDS+=	tracing-0.1.36
CARGO_CRATE_DEPENDS+=	tracing-core-0.1.29
CARGO_CRATE_DEPENDS+=	try-lock-0.2.3
CARGO_CRATE_DEPENDS+=	typenum-1.15.0
CARGO_CRATE_DEPENDS+=	unicode-bidi-0.3.8
CARGO_CRATE_DEPENDS+=	unicode-ident-1.0.4
CARGO_CRATE_DEPENDS+=	unicode-normalization-0.1.22
CARGO_CRATE_DEPENDS+=	unicode-width-0.1.10
CARGO_CRATE_DEPENDS+=	ureq-2.5.0
CARGO_CRATE_DEPENDS+=	url-2.3.1
CARGO_CRATE_DEPENDS+=	vcpkg-0.2.15
CARGO_CRATE_DEPENDS+=	version_check-0.9.4
CARGO_CRATE_DEPENDS+=	want-0.3.0
CARGO_CRATE_DEPENDS+=	wasi-0.11.0+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+=	winapi-0.3.9
CARGO_CRATE_DEPENDS+=	winapi-i686-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+=	winapi-util-0.1.5
CARGO_CRATE_DEPENDS+=	winapi-x86_64-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+=	windows-sys-0.36.1
CARGO_CRATE_DEPENDS+=	windows_aarch64_msvc-0.36.1
CARGO_CRATE_DEPENDS+=	windows_i686_gnu-0.36.1
CARGO_CRATE_DEPENDS+=	windows_i686_msvc-0.36.1
CARGO_CRATE_DEPENDS+=	windows_x86_64_gnu-0.36.1
CARGO_CRATE_DEPENDS+=	windows_x86_64_msvc-0.36.1
CARGO_CRATE_DEPENDS+=	zeroize-1.3.0
USE_LANGUAGES=		c

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
